//
//  GGTOurViewController.m
//  GGT
//
//  Created by 空空空 on 14/11/11.
//  Copyright (c) 2014年 GGT. All rights reserved.
//

#import "GGTOurViewController.h"

@interface GGTOurViewController ()

@end

@implementation GGTOurViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    UIImageView *imgView = [[UIImageView alloc]initWithFrame:[[UIScreen mainScreen]bounds]];
    imgView.image = [UIImage imageNamed:@"beijing.jpg"];
    [self.view addSubview:imgView];
    UIImageView *img = [[UIImageView alloc]initWithFrame:CGRectMake(self.view.frame.size.width / 3 * 2 - 20, self.view.frame.size.height / 3, 100, 100)];
    img.image = [UIImage imageNamed:@"kkk.jpg"];
    [self.view addSubview:img];
    [img release];
    
    UIImageView *img1 = [[UIImageView alloc]initWithFrame:CGRectMake(30, self.view.frame.size.height / 3, 100, 100)];
    img1.image = [UIImage imageNamed:@"lty.jpg"];
    [self.view addSubview:img1];
    [img1 release];
    UILabel *nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(self.view.frame.size.width / 3 * 2 - 20, self.view.frame.size.height / 3 + 80, 100, 100)];
    nameLabel.text = @"空空";
    nameLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:nameLabel];
    [nameLabel release];
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(100, self.view.frame.size.height / 2, self.view.frame.size.width / 2,self.view.frame.size.height / 3)];
    label.text = @"爱团购，爱生活";
    [self.view addSubview:label];
    [label release];
    UILabel *nameLabel1 = [[UILabel alloc]initWithFrame:CGRectMake(30, self.view.frame.size.height / 3 + 80, 100, 100)];
    nameLabel1.text = @"宝哥";
    nameLabel1.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:nameLabel1];
    [nameLabel1 release];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
